package com.rs.yyds.bean;


import com.rs.yyds.page.Page;
import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Getter
@Setter
//@Alias("user")
public class User extends Page implements Serializable{
    private int userId;
    private String userName;
    private String userPassword;
    private String userEmail;
    private int userRole;
    private String userStatus;

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userEmail='" + userEmail + '\'' +
                ", userRole='" + userRole + '\'' +
                ", userStatus='" + userStatus + '\'' +
                '}';
    }
}
